package com.yb;

public class Test {
//	public static void main(String[] args) {
//		Integer a = 100;
//		Integer b = new Integer(100);
//		Integer c = Integer.valueOf(100);
//		System.out.println(a.equals(b));
//		System.out.println(a.equals(c));
//		System.out.println(b.equals(c));
//		
//		System.out.println(a==b);
//		System.out.println(a==c);
//		System.out.println(b==c);	
//	}
//	public static void main(String[] args) {
//		Integer a = 127;
//		Integer b = 127;
//		Integer c = 128;
//		Integer d = 128;
//		System.out.println(a.equals(b));
//		System.out.println(a==b);
//		System.out.println(c.equals(d));
//		System.out.println(c==d);
//	}
	public static void main(String[] args) {
	int a = 128;
	Integer b = 128;
	System.out.println(a==b);
}
}
